package com.crr.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.crr.mall.common.utils.PageUtils;
import com.crr.mall.product.entity.CategoryBrandRelationEntity;

import java.util.List;
import java.util.Map;

/**
 * 品牌分类关联
 *
 * @author chenrenren
 * @email chenrenren@gmail.com
 * @date 2024-12-06 17:50:14
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 新增品牌分类关联信息
     * @return
     */
    int saveDetail(CategoryBrandRelationEntity categoryBrandRelation);

    /**
     * 根据catId关联表查询品牌信息
     * @param catId
     * @return
     */
    List<Map> queryByCatId(Long catId);
}

